import request from "@/utils/request";

export function reviewSearch(name) {
    return request.post(`/reviewEntity/reviewSearch?name=${name}`);
}

export function reviewListPage(page, pageSize) {
    return request.post(`/reviewEntity/reviewListPage?page=${page}&pageSize=${pageSize}`);
}

export function reviewId(id) {
    return request.post(`/reviewEntity/reviewId?id=${id}`);
}

export function reviewEditor(params) {
    return request.post(`/reviewEntity/reviewEditor`, params);
}

export function reviewDelete(id) {
    return request.post(`/reviewEntity/reviewDelete?id=${id}`);
}

export function reviewAppend(params) {
    return request.post(`/reviewEntity/reviewAppend`, params);
}

export function reviewList() {
    return request.get(`/reviewEntity/reviewList`);
}

